Make WritingSystemSetupDialog localizable#1523
Conversation
…der (#1337) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude response to Devin flags1. L10NSharpExtender may override custom dialog titles on language change (WritingSystemSetupDialog.cs:122) Valid concern: Not actioning: this is the same tradeoff accepted by every sibling dialog in the project that already uses 2. Adding Finding is correct: the Net effect is positive: the original developer clearly intended |
Restore from base commit to fix double-encoded UTF-8 (Chinese characters and curly apostrophe were corrupted by PowerShell Get-Content/Set-Content mishandling UTF-8-without-BOM), then re-apply our entry using the Edit tool which preserves encoding correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Match the naming style of sibling dialogs (e.g. WSKeyboardControl.KeymanConfigurationLink, LanguageLookupDialog title) — no private-field underscore prefixes in IDs exposed to translators. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
L10NSharpExtenderinWritingSystemSetupDialog.InitializeComponent(), matching the pattern used by all sibling dialogs in the project (LocalizationManagerId = Palaso)_closeButton,_openGlobal,_openDirectory,_openLabel, and the form titleInputSystemsError, folder-browser description, twodlg.Textassignments) withLocalizationManager.GetString()callscomponentsactivates the pre-existingDisposeRepositorycleanup inDispose, fixing a resource leak when the all-users child dialog is closedTest plan
UITests.WritingSystemSetupDialog_Construct_DoesNotThrow(marked[Explicit]— requires a running L10NSharp environment; run manually)Fixes #1337
Devin review: https://app.devin.ai/review/sillsdev/libpalaso/pull/1523
This change is